#include "Device.h"


CDevice::CDevice()
{
	LPDIRECTDRAW7 lpdd=NULL;                  
	LPDIRECTDRAWSURFACE7 lpddsprimary=NULL;    
	LPDIRECTDRAWSURFACE7 lpddsback=NULL;    
	memset(&ddsd,0,sizeof(ddsd));  
	mempitch=0;
	video_buffer=NULL;
}

CDevice::~CDevice()
{
	Close();
}
